@include('lay.nav')
<div class="header" style="height:130px;">
    <div class="width">
        @include('lay.top')
    </div>
</div>

<div class="about">
    <div class="sidebar">
        <div><a href="{{route('openapi',['h'=>'detail'])}}" @if($route=='detail') class="active" @endif>获取商品详情</a></div>
        <div><a href="{{route('openapi',['h'=>'bursting'])}}" @if($route=='bursting') class="active" @endif>爆款商品数据</a></div>
        <div><a href="{{route('openapi',['h'=>'seckill'])}}" @if($route=='seckill') class="active" @endif>秒杀平台数据</a>
        </div>
        <div><a href="{{route('openapi',['h'=>'mark'])}}" @if($route=='mark') class="active" @endif>预约商品数据</a>
        </div>
        <div><a href="{{route('openapi',['h'=>'newly'])}}" @if($route=='newly') class="active" @endif>实时上新商品数据</a>
        </div>
        <div><a href="{{route('openapi',['h'=>'ranking'])}}" @if($route=='ranking') class="active" @endif>销量排行榜数据</a>
        </div>
    </div>
    <div class="article">
       @includeWhen($route=='detail', 'api.detail')
       @includeWhen($route=='bursting', 'api.bursting')
       @includeWhen($route=='seckill', 'api.seckill')
       @includeWhen($route=='mark', 'api.mark')
       @includeWhen($route=='newly', 'api.newly')
       @includeWhen($route=='ranking', 'api.ranking')
    </div>
</div>
@include('lay.footer')

